package ru.naumen.algebra.junit;

import junit.framework.TestSuite;
import junit.textui.TestRunner;
import ru.naumen.algebra.field.quadratic.test.GeneralUnitRecursivePeriodExtractorTest;
import ru.naumen.algebra.field.quadratic.test.QuadtraticGeneralUnitExtractorTest;
import ru.naumen.algebra.util.test.NumberUtilitiesTest;
import ru.susu.algebra.chartable.degree.TestDegrees;

/**
 * @author akargapolov
 * @since: 31.10.2009
 */
public class RunJUnitTests
{
	public static void main(String[] args)
	{
		TestRunner runner = new TestRunner();
	    TestSuite suite = new TestSuite();
	    suite.addTest(new TestDegrees("testDegreeMethods"));
	    suite.addTest(new QuadtraticGeneralUnitExtractorTest("test"));
	    suite.addTest(new GeneralUnitRecursivePeriodExtractorTest("testQ21"));
	    suite.addTest(new NumberUtilitiesTest("testSquareRoot"));
	    runner.doRun(suite);
	}
}
